package com.doraro.platform.common.beans;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 仅用于controller的方法,
 * value代表权限
 * 默认为 http_method:url
 * eg: GET:/api/advice/user/view
 * TODO:删除
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ApiPerm {
    String value() default "";
}
